package com.xmg.design23.d12_observer;

/**
 * @Author: mazhongqing
 * @Date: 2021/3/25 12:10
 */
public class ConcreteSubject extends Subject{
    public void notifyObserver(){
        System.out.println("具体目标发生变化");
        System.out.println("---------------");

        for (Observer obs:observers){
            obs.response();
        }
    }
}
